package starter.game.client;

import java.util.concurrent.ScheduledExecutorService;

import starter.context.App;

import com.bowlong.util.NewMap;

public class Test {
	static SocketChannel chn = new SocketChannel("127.0.0.1", App.game.port);
	static GameCallServiceImp cgi = new GameCallServiceImp(chn);
	static {
		chn.setLoop(cgi);
	}
	
	static ScheduledExecutorService scheduledPool;

	@SuppressWarnings("rawtypes")
	public static void main(String[] args) throws Exception {
		cgi.ping("1234");
		NewMap map = chn.readMap();
		cgi.disp(map);

		
		System.exit(1);
	}

}
